package com.yuncheng.spcyApi.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.spcyApi.entity.SpcyPxJbxx;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuncheng.spcyApi.vo.common.OrderItemVo;
import com.yuncheng.spcyApi.vo.jcy.JcyLxSplcVo;
import com.yuncheng.spcyApi.vo.jcy.JcyLxUserVo;
import com.yuncheng.spcyApi.vo.sqsx.PxCjryJbxxVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 审评查验-培训基本信息
 * @Author: yuncheng
 * @Date: 2023-04-14
 * @Version: V1.0
 */
public interface SpcyPxJbxxMapper extends BaseMapper<SpcyPxJbxx> {

    // 查询 加入培训的人员信息
    List<PxCjryJbxxVo> getPxCjryList(@Param("bean")PxCjryJbxxVo cjryJbxxVo);

    // 查询遴选人员-分页列表
    Page<JcyLxUserVo> selectLxjhUserPageList(Page<JcyLxUserVo> page,
                                             @Param(value = "bean")JcyLxUserVo bean,
                                             @Param("orderBean") OrderItemVo orderItemVo);

    // 查询遴选人员列表
    List<JcyLxUserVo> selectLxjhryList(@Param(value = "bean")JcyLxUserVo bean);

    // 查询遴选人员列表
    List<JcyLxUserVo> selectLxjhUserList(@Param(value = "bean")JcyLxUserVo bean,
                                         @Param("orderBean") OrderItemVo orderItemVo);

    // 遴选计划-分页查询
    Page<SpcyPxJbxx> selectLxjhPageList(Page<SpcyPxJbxx> page,
                                        @Param(value = "bean")SpcyPxJbxx bean,
                                        @Param(value = "gjz")String gjz,
                                        @Param("orderBean") OrderItemVo orderItemVo);

    // 遴选计划-审批流程-待办查询
    Page<JcyLxSplcVo> selectFlowJobPage(Page<JcyLxSplcVo> page,
                                        @Param("userid") String userid,
                                        @Param("flowVo") JcyLxSplcVo ybjcyFlowVo,
                                        @Param("orderBean") OrderItemVo orderItemVo);
}
